package com.freewater.parking.domain.blacklist;

import com.freewater.parking.domain.common.PlateNumber;

import java.util.Optional;

public interface BlackListRepository {

    void save(BlackList blackList);

    Optional<BlackList> findByPlateNumber(PlateNumber plateNumber);

    void delete(BlackList blackList);

    boolean existsById(PlateNumber plateNumber);
}
